15f4df39c54532e196e097b12ca7b8ff98555e38,controller/src/main/java/org/jboss/as/controller/operations/common/GenericSubsystemDescribeHandler.java,GenericSubsystemDescribeHandler,describe,#OrderedChildTypesAttachment#Resource#ModelNode#ModelNode#ImmutableManagementResourceRegistration#,137

Before Change


                final ImmutableManagementResourceRegistration childRegistration = registration.getSubModel(PathAddress.pathAddress(element));
                final ModelNode childAddress = address.clone();
                childAddress.add(element.getKey(), element.getValue());
                describe(orderedChildTypesAttachment, child, childAddress, result, childRegistration);
            }
        }
    }

After Change


            children.addAll(defaultChildren);
        }
        result.add(createAddOperation(orderedChildTypesAttachment, address, resource, children));
        for(final PathElement element : children) {
            final Resource child = resource.getChild(element);
            final ImmutableManagementResourceRegistration childRegistration = registration.getSubModel(PathAddress.pathAddress(element));
            if (childRegistration == null) {
                ControllerLogger.ROOT_LOGGER.debugf("No MRR exists for %s", registration.getPathAddress().append(element));
            } else {
                final ModelNode childAddress = address.clone();
                childAddress.add(element.getKey(), element.getValue());
                describe(orderedChildTypesAttachment, child, childAddress, result, childRegistration);
            }
        }
    }